using BookDownloader.Core.Implementation.BaseLibEngine.Parser;

namespace BookDownloader.Core.Implementation.LibRusEc.Parser
{
	public class AuthorsParser : SqlParser<Author>
	{
		public AuthorsParser(ISqlStreamProvider sqlStreamProvider) : base(sqlStreamProvider)
		{
		}

		protected override string ParamsPattern
		{
			get
			{
				return @"(?<Id>\d+),'(?<FirstName>[^']*)','(?<MiddleName>[^']*)','(?<LastName>[^']*)'.*";
			}
		}
	}
}